Class DungeonCategory

All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<DungeonWrapper>

public class DungeonCategory extends BlankJEIRecipeCategory<DungeonWrapper>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static int
     
    protected static int
     
    protected static int
     
    protected static final int
     
    protected static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull mezz.jei.api.gui.drawable.IDrawable
    Returns the drawable background for a single recipe in this category.
    @NotNull Class<? extends DungeonWrapper>
    Returns the class of recipes that this recipe category handles.
    @NotNull mezz.jei.api.recipe.RecipeType<DungeonWrapper>
     
    @NotNull net.minecraft.network.chat.Component
    Returns a text component representing the name of this recipe type.
    @NotNull net.minecraft.resources.ResourceLocation
    Returns a unique ID for this recipe category.
    static void
     
    void
    setRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull DungeonWrapper recipeWrapper, @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
    Sets all the recipe's ingredients by filling out an instance of IRecipeLayoutBuilder.

    Methods inherited from class jeresources.jei.BlankJEIRecipeCategory

    draw, getIcon, getTooltipStrings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory

    draw, getRegistryName, getTooltipStrings, handleClick, handleInput, isHandled, setIngredients, setRecipe, setRecipe
  • Field Details

    • Y_FIRST_ITEM

      protected static final int Y_FIRST_ITEM
      See Also:
    • X_FIRST_ITEM

      protected static final int X_FIRST_ITEM
      See Also:
    • SPACING_Y

      protected static int SPACING_Y
    • SPACING_X

      protected static int SPACING_X
    • ITEMS_PER_PAGE

      protected static int ITEMS_PER_PAGE
  • Constructor Details

    • DungeonCategory

      public DungeonCategory()
  • Method Details

    • reloadSettings

      public static void reloadSettings()
    • getUid

      @NotNull public @NotNull net.minecraft.resources.ResourceLocation getUid()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns a unique ID for this recipe category. Referenced from recipes to identify which recipe category they belong to.
    • getTitle

      @NotNull public @NotNull net.minecraft.network.chat.Component getTitle()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns a text component representing the name of this recipe type. Drawn at the top of the recipe GUI pages for this category.
    • getBackground

      @NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns the drawable background for a single recipe in this category. The size of the background determines how recipes are laid out by JEI, make sure it is the right size to contains everything being displayed.
    • getRecipeClass

      @NotNull public @NotNull Class<? extends DungeonWrapper> getRecipeClass()
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Returns the class of recipes that this recipe category handles.
    • getRecipeType

      @NotNull public @NotNull mezz.jei.api.recipe.RecipeType<DungeonWrapper> getRecipeType()
      Returns:
      the type of recipe that this category handles.
    • setRecipe

      public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull DungeonWrapper recipeWrapper, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Sets all the recipe's ingredients by filling out an instance of IRecipeLayoutBuilder. This is used by JEI for lookups, to figure out what ingredients are inputs and outputs for a recipe.